<script lang='ts' setup>
import { getCardList } from '@/api';
import type { IProduct } from '@/typings/interface'
import Header from './components/Header.vue'
import {usestore} from '../../Store/Course'
import ProductContainer from '../components/ProductContainer.vue';
import Item from '../components/ProductContainer/Item.vue';
const store=usestore()
let cardList=$ref<IProduct[]>([]);
cardList=store.cardList2
</script>

<template>
  <view>
  <Header></Header>
  <Item v-for="item in store.cardList2" :key="item.id" :item="item"/>
  </view>
</template>

<style lang='less' scoped></style>